class Car:

    def __init__(self, brand, model, year):
        self.brand = brand
        self.model = model
        self.year = year

    def get_description(self):
        return f'{self.brand} {self.model} ({self.year})'

    def start_engine(self):
        return f'Двигатель запущен'

    def set_year(self, year):
        self.year = year


class ElectricCar(Car):
    def __init__(self, brand, model, year, battery_capacity):
        super().__init__(brand, model, year)
        self.battery_capacity = battery_capacity

    def start_engine(self):
        return f'Электродвигатель запущен'

    def get_battery_info(self):
        return f'Емкость батареи: {self.battery_capacity} кВтч'


class Truck(Car):
    def __init__(self, brand, model, year, load_capacity):
        super().__init__(brand, model, year)
        self.load_capacity = load_capacity

    def get_load_info(self):
        return f'Грузоподъемность: {self.load_capacity} кг'

    def start_engine(self):
        return f'Дизельный двигатель запущен'


Ford = Car(brand='Ford', model='F-150', year=2020)
# print(Ford.get_description())
# print(Ford.start_engine())

Tesla = ElectricCar(brand='Tesla', model='S', year=2022, battery_capacity=100)
# print(Tesla.get_description())
# print(Tesla.start_engine())
# print(Tesla.get_battery_info())


CamAZ = Truck(brand='КамАЗ', model='65207', year=2020, load_capacity=18000)
# print(CamAZ.get_description())
# print(CamAZ.start_engine())
# print(CamAZ.get_load_info())
